package com.cqjtu.eecs.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author
 * @since 2022-02-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Major对象", description="")
public class Major implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    @ApiModelProperty(value = "专业代码")
    private String majorCode;

    @ApiModelProperty(value = "学院ID")
    private String academyId;

    @ApiModelProperty(value = "专业名")
    private String majorName;

    @ApiModelProperty(value = "专业简介")
    private String majorBrief;

    @ApiModelProperty(value = "专业负责人")
    private String majorManager;

    @ApiModelProperty(value = "教职师id")
    private Integer tid;

    public Major() {
    }

    public Major(String majorCode, String academyId, String majorName, String majorBrief, String majorManager, Integer tid) {
        this.majorCode = majorCode;
        this.academyId = academyId;
        this.majorName = majorName;
        this.majorBrief = majorBrief;
        this.majorManager = majorManager;
        this.tid = tid;
    }

}
